			<hr>

			<div class="input-group mb-3">
				<input class="form-control" type="text" name="ans" id="ans" value="" autocomplete="off" placeholder="" 
				 required="required" onkeydown="var evt=evt?evt:(window.event?window.event:null);if (evt.keyCode==13){var obj;queryDistrict(obj,2)}">
				<button class="btn btn-primary" type="submit" onclick="load_ajax();"><? echo $btn_title; ?></button>
			</div>
		</div>
<!-- Modal -->
<div class="modal fade" id="ajax-ret" tabindex="-1" role="dialog" aria-labelledby="ajax" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalCenterTitle">HackGame</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
       阁下你的答案是正确的
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">咱们继续!</button>
      </div>
    </div>
  </div>
</div>

		<footer class="footer">
			<span class="text-muted">HackGame By </span><a rel="nofollow" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=946735494&site=HackGame&menu=yes">乔千</a>
		</footer>
		<script type="application/x-javascript">
			function load_ajax(){$.ajax({
				url: "answer.php?index=<?php echo $index; ?>&answer="+$("#ans").val(),
				success: function(data) {
					eval(data);
				}
			});}
			function game_load(index){
				window.location.href="index.php?index="+index;
			}
			function game_noload(){
				var date=new Date();
                var expiresDays=365;
                date.setTime(date.getTime()+expiresDays*24*3600*1000);
                document.cookie="noload=1;expires="+date.toGMTString();
			}
		</script>
		<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
		<script src="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
	</body>
</html>
